import request from '@/utils/request'
const path = '/platform/app_user/'

/**
 * 获取平台应用小程序的用户列表
 * @param page
 * @param size
 * @param search
 * @returns {*}
 */
export function getPlatformAppUserList(page = 0, size = 10, search) {
  return request({
    url: path + 'getPlatformAppUserList',
    method: 'post',
    data: { page, size, search }
  })
}

export function getPlatformAppUserForm(id = 0, addon_name) {
  return request({
    url: path + 'getPlatformAppUserForm',
    method: 'post',
    data: { id, addon_name }
  })
}
